import request from './request.js';

export default{
    //获取建议列表
    getOpenID(query){
        return request({
            url: BASE+'/wx/getOpenIdBaseInfoByCode',
            method: 'get',
            params:query
        })
    },
    getInfo(query){
        return request({
            url: BASE+'/public-user/publicUserInfo',
            method: 'get',
            params:query
        })
    },
    add(query){
        return request({
            url: BASE+'/public-user/submit',
            method: 'post',
            data:query
        })
    },
    getVillage(query){
        return request({
            url: BASE+'/community/queryAll',
            method: 'post'
        })
    }
}